<?php

// 检测PHP环境
if(version_compare(PHP_VERSION,'5.4.0','<'))  die('require PHP > 5.4.0 !');
define('APP_MODE','cli');
define('APP_DEBUG',FALSE);
define('WWWROOT', dirname(__FILE__));
define( 'APP_PATH', dirname(__FILE__).'/Application/' );
define ('RUNTIME_PATH', APP_PATH.'/Runtime/' );
require dirname( __FILE__).'/ThinkPHP/ThinkPHP.php';
